home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / AmigaOS / Aplus_Dev / AP-Website / links / include / email_confirmation.php < prev    next >
Encoding:
PHP Script  |  2002-10-28  |  1.1 KB  |  29 lines

  1. <?
  2. // *******************************************************************
  3. //  include/email_confirmation.php
  4. // *******************************************************************
  5.  
  6. $recipient = $UserName . "<" . $Email . ">";
  7.  
  8. $subject = $email_confirmation_1 . $site_title;
  9.  
  10. $content .= $email_confirmation_2 . $site_title . "\n\n";
  11. $content .= $email_confirmation_3 . stripslashes($SiteName) . "\n";
  12. $content .= $email_confirmation_4 . $SiteURL . "\n\n";
  13. $content .= $email_confirmation_5 . "\n";
  14. $content .= "<a href=\"" . $base_url . "/in.php?ID=" . $id . "\" target=\"_blank\">";
  15. $content .= $site_title . "</a>\n\n";
  16. $content .= $email_confirmation_6 . "\n\n";
  17. $content .= $email_confirmation_7 . ",\n\n";
  18. $content .= "--\r\n" . $owner_name . " <" . $owner_email . ">\n\n";
  19.  
  20. $headers = "From: " . $owner_name . " <" . $owner_email . ">\n";
  21. $headers .= "X-Sender: <" . $owner_email . ">\n";
  22. $headers .= "Return-Path: <" . $owner_email . ">\n";
  23. $headers .= "Error-To: <" . $owner_email . ">\n";
  24. $headers .= "X-Mailer: " . $SERVER_NAME . "\n";
  25.  
  26. mail($recipient, $subject, $content, $headers);
  27.  
  28. ?>
  29.